-- GENERATED SPELL FOR [Tecahuna] --


function spell0_26865(pUnit, Event) --@Tecahuna Venom Spit,n/a--
pUnit:FullCastSpellOnTarget(47629,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26865', 26000, 1)
end

function Sorts_26865(pUnit, Event)
local choix_sorts_26865 = math.random(0, 0)
if choix_sorts_26865 == 0 then
pUnit:RegisterEvent('spell0_26865', 1, 1)
end
end

function mob26865_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26865', math.random(1500, 3000), 1)
end

function mob26865_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26865_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26865_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26865, 1, 'mob26865_Action')
RegisterUnitEvent(26865, 2, 'mob26865_Leave')
RegisterUnitEvent(26865, 3, 'mob26865_Kill')
RegisterUnitEvent(26865, 4, 'mob26865_Die')
